package com.BlogPark.service.BindMailboxService;


import com.BlogPark.pojo.User;
import org.springframework.stereotype.Service;

@Service
public interface BindMailboxService {

    /**
     *绑定邮箱
     * @return
     */

    public int  bindMail(User user);


    /**
     * 更新user验证码和时间
     * @param user
     * @return
     */
    public int updateCodeAndDate(User user);


    /**
     * 激活验证码
     * @return
     */
    public int  doActivCode(String email);
}
